package com.trace.app.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.trace.app.entity.Supplier;
import com.trace.app.entity.User;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (Record)表实体类
 *
 * @author lionkliu
 * @since 2024-03-17 15:55:23
 */
@SuppressWarnings("serial")
@Data
public class RecordVo implements Serializable {
    private Integer id;

    private Integer rawId;
    private String rawName;

    private Integer userId;

    private String userType;

    private String location;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String img;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String remarks;

    private User user;
}
